from django.db import models


class finance(models.Model):
    month = models.IntegerField()
    money = models.DecimalField(max_digits=10, decimal_places=2)
    department = models.ForeignKey('staff.department', on_delete=models.CASCADE, null=True)
    project = models.ForeignKey('staff.project', on_delete=models.CASCADE, null=True)
